import jenkins

server = jenkins.Jenkins('http://jenkins.coocaa.net/', username='heyuke', password='shop')
server.build_job('beta-wx.coocaa.com')
server.build_job('jxInstantQuery2', {'param1': 'aaa', 'param2': 'bbb'})